<template>
	<view>
		<!-- 滚动通知与轮播基本上类似 -->
		<u-swiper :list="list" @click="clickItem($event,list)"></u-swiper>
	</view>
</template>

<script>
	import common from '@/mixins/common.js'
	export default {
		mixins:[common],
		data() {
			return {
				list: [{
						image: 'https://cdn.uviewui.com/uview/swiper/1.jpg',
						title: '昨夜星辰昨夜风，画楼西畔桂堂东',
						url: '/pages/test/page',
						type: 'navigateTo'
					},
					{
						image: 'https://cdn.uviewui.com/uview/swiper/3.jpg',
						title: '谁念西风独自凉，萧萧黄叶闭疏窗，沉思往事立残阳',
						url: '/pages/index/index',
						type: 'switchTab'
					},
					{
						image: 'https://cdn.uviewui.com/uview/swiper/3.jpg',
						title: '谁念西风独自凉，萧萧黄叶闭疏窗，沉思往事立残阳',
						url: 'https://www.baidu.com',
						type: 'url'
					}
				],
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
</style>